#{extends 'main.html' /}
#{set title:'BETSAFE HACKATON \'11 - CURSOR*N' /}
#{addJsPaths ['/public/javascripts/seedrandom.js'.toAssetPath(), '/public/javascripts/gameobjects.js'.toAssetPath(), '/public/javascripts/devices.js'.toAssetPath(), '/public/javascripts/entity.js'.toAssetPath(), '/public/javascripts/cursorn.js'.toAssetPath()] /}
<canvas id="gameCanvas" width="640" height="480"></canvas>
#{addJsInit}
    $(document).ready(function() {
        var gameCanvas = $("#gameCanvas")[0];
        var cursorn = new CursorN({}, gameCanvas);
        cursorn.start_gameloop();
    });
#{/addJsInit}
